package com.example.rightmost.service;

import com.example.rightmost.entity.Result;
import com.example.rightmost.entity.Topic;

import java.util.List;

public interface TopicService {

    List<Topic> getTopicList(Topic topic);

    Result deleteTopic(Integer id);

    Result updateStatus(Integer id);

    Result addTopic(Topic topic);

    Result updateTopic(Topic topic);

    //gao
    Topic getTopic(Integer id);

}
